package com.contoller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.service.GirlService;

@RestController
public class HelloController {

	@Autowired
	private GirlService girlService;
	@RequestMapping("/")
	public Object hello(){
		return girlService.findAll();
	}
}
